package UserUnit;

public class ImpUserProfile implements UserProfile {

    String name, surname1, surname2, email, password, gender, language, route, description, state, birth;
    int id, day, month, year;

    public void setId(int id) {
        this.id = id;
    }

    public void setPerson(String name, String surname1, String surname2) {
        this.name = name;
        this.surname1 = surname1;
        this.surname2 = surname2;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setBirth(int day, int month, int year) {
        this.day = day;
        this.month = month;
        this.year = year;

    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public void setProfilePic(String route) {
        this.route = route;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public String getPerson() {
        return name + " " + surname1 + " " + surname2;
    }

    public String getName() {
        return name;
    }

    public String getSurname1() {
        return surname1;
    }

    public String getSurname2() {
        return surname2;
    }

    public String getEmail() {
        return email;
    }

    public String getPassword() {
        return password;
    }

    public String getGender() {
        return gender;
    }

    public String getBirth() {
        birth = day + "/" + month + "/" + year;
        return birth;
    }

    public int getBirthDay() {
        return day;
    }

    public int getBirthMonth() {
        return month;
    }

    public int getBirthYear() {
        return year;
    }

    public String getLanguage() {
        return language;
    }

    public String getProfilePic() {
        return route;
    }

    public String getDescription() {
        return description;
    }

    public String getState() {
        return state;
    }
}
